package com.nerve.cloudoffice.web.model;

import java.util.List;

import com.nerve.cloudoffice.common.PageModel;
import com.nerve.cloudoffice.domain.Task;
import com.nerve.cloudoffice.domain.TrashApply;

/**
 * @project: cloudOffice
 * @file: TaskModel.java
 * @package: com.nerve.cloudoffice.web.model
 * @description:
 *
 * @author: 集成显卡	1053214511@qq.com
				IBM GDC, zengxm@cn.ibm.com
 * @date&time: 2013-8-3
 * @change log:
 */
public class TaskModel extends PageModel{

	private int id;
	private int updateType;
	private String updateValue;
	private String range;//参数任务的范围，有day，week，month，year
	private int workerId;
	
	/*
	 * 时间属性需要额外处理
	 */
	private String startDate;
	private String endDate;
	
	private Task task;
	private List<Task> taskList;
	private List<TrashApply> trashList;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUpdateType() {
		return updateType;
	}
	public void setUpdateType(int updateType) {
		this.updateType = updateType;
	}
	public String getUpdateValue() {
		return updateValue;
	}
	public void setUpdateValue(String updateValue) {
		this.updateValue = updateValue;
	}
	public Task getTask() {
		return task;
	}
	public void setTask(Task task) {
		this.task = task;
	}
	public List<Task> getTaskList() {
		return taskList;
	}
	public void setTaskList(List<Task> taskList) {
		this.taskList = taskList;
	}
	public String getRange() {
		return range;
	}
	public void setRange(String range) {
		this.range = range;
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
	public int getWorkerId() {
		return workerId;
	}
	public void setWorkerId(int workerId) {
		this.workerId = workerId;
	}
	public List<TrashApply> getTrashList() {
		return trashList;
	}
	public void setTrashList(List<TrashApply> trashList) {
		this.trashList = trashList;
	}
	
}
